package com.yzf.wisecoder.wisecodercommon.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author jianghuiyong
 * @Description 模板库请求对象
 * @date 2020/5/12 17:40
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "模板库模板请求对象")
public class TemStoreReq {

    private Long temId;
    /**
     * 模板名称
     */
    @ApiModelProperty(value = "模板名称", required = true)
    @NotBlank(message = "模板名称不能为空")
    private String temName;
    /**
     * 模板配置
     */
    @ApiModelProperty(value = "模板配置", required = true)
    @NotBlank(message = "模板配置不能为空")
    private String temConfig;
    /**
     * 模板缩略图
     */
    @ApiModelProperty(value = "模板缩略图URL", required = true)
    @NotBlank(message = "模板缩略图URL不能为空")
    private String temUrl;
}
